/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package song;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author mars
 */
public class Song {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws ParseException {
        // TODO code application logic here
        //Date datee = new Date("2012-02-26 17:49");
        SimpleDateFormat format = new SimpleDateFormat("yyyy-mm-dd hh:mm");
        Date date = format.parse("2012-02-26 17:49");
       long ss =   date.getTime();
        System.out.println(ss);
    }
}
